// cs174, assignment 1 sample file (RIGHT HANDED)

camera {
  location  <0.0, 0, 5.001>
  up        <0,  1,  0>
  right     <1.73913, 0,  0>
  look_at   <0, 0, 0>
}


light_source {<0, 3, 3> color rgb <1.0, 1.0, 1.0>}
//light_source {<100, 100, 50> color rgb <0, 0, 0>}
//light_source {<0, 3, 2> color rgb <0.0, 2.0, 0.0>}

sphere { <0, 0, 0>, 1
  pigment { color rgb <1.0, 0.0, 1.0>}
  finish {ambient 0.2 diffuse 0.4 specular 0.6 refraction 0.0 ior 1.33 
      bump_map 1}
  translate <0, 0.1, 0>
  rotate <90, 0, 0>
}


box {<-1, -1, -1>, <1, 1, 1>
    pigment {color rgb <.5, 0.1, .1>}
    finish {ambient 0.1 diffuse 0.5 specular 0.8 bump_map 2}
    translate <-2, 0, 0>
}

box {<-1, -1, -1>, <1, 1, 1>
    pigment {color rgb <.4, 0.2, .1>}
    finish {ambient 0.1 diffuse 0.5 specular 0.8 bump_map 3}
    translate <2, 0, 0>
}

plane {<0, 1, 0>, -4
      pigment {color rgb <0.2, 0.2, 0.8>}
      finish {ambient 0.4 diffuse 1.2  }
}
/*
triangle {<3.0, 1.0, 0>, <1.0, 3.0, 0>, <1.0, 1.0, 0>
    pigment {color rgb <0.1, 0.1, 0.9>}
    finish {ambient 0.2 diffuse 0.5 }
    translate <0, 0, -4>
}*/
